extends PlayerStatusBase
func start():
	actor.play_animation("hurt")
	Game.shake_camera(4.0)

func run_physics_process(delta)->void:
	var collision_info = actor.move_and_collision_info()
	if actor.is_play_animation("hurt"):
		return

	if collision_info.get("is_on_floor"):
		if actor.velocity.x == 0:
			return change_status("Idle")
		else:
			return change_status("Run")

func run_process(delta)->void:
	hurt_velocity(delta)
